package com.xx.sg.own.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xx.sg.own.entity.CommunicationTerminal;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CommunicationTerminalMapper extends BaseMapper<CommunicationTerminal> {

    Page<CommunicationTerminal> selectCommunicationTerminalPage(@Param("param") CommunicationTerminal communicationTerminal, Page<CommunicationTerminal> page);

    List<CommunicationTerminal> selectCommunicationTerminalList(CommunicationTerminal communicationTerminal);

    CommunicationTerminal selectCommunicationTerminalById(@Param("id") String id);

    CommunicationTerminal selectCommunicationTerminalByDevId(@Param("devId") String devId);
}

